package com.bnu.user.Entity;

import lombok.Data;

@Data
public class Result<T> {
    private Integer errCode;
    private String errMessage;
    private T data;

    //省略getter和setter
    @Override
    public String toString() {
        return "Result{" +
                "errCode=" + errCode +
                ", errMessage='" + errMessage + '\'' +
                ", data=" + data +
                '}';
    }

}
